package com.demo.service;

import com.demo.entity.Video;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface VideoService {
    List<Video> selectAllVideos();

    Video selectVideoById(int id);

    Boolean deleteVideoById(int id);

    Boolean insertVideo(Video video);

    Boolean updateVideo(Video video);
}
